home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Haight-Ashbury in the Sixties
/
Haight-Ashbury in the Sixties (1996)(Rockument)(Disc 1 of 2)[Mac-PC].iso
/
mac
/
MAIN
/
TUNEIN
/
TUNEIN01.DIR
/
00337_Script_337
< prev
next >
Wrap
Text File
|
1995-06-01
|
1KB
|
29 lines
on playSearchShow
global initMasterList, searchShow, gPlaylistMasterList, x, y, autoPlayMode, rolledShow, gMainMovie, completeShow
global lastCredits, thisLine, thisTopic, thisTopicItem, thisItemType, thisIndex, gPlaylistSearchList, theMovieName, gMovieCount
cursor 4
setAt (the searchpath, 1, "HAIGHT:MAIN:TURNON:")
put the pathname & the moviename into gMainMovie
set gPlaylistMasterList = []
set AutoPlayMode = "ON"
set rolledShow = false
set searchShow = true
set completeShow = false
-- generate a playlist from the TURN ON movies in the search index field for the current topic/line
put (the number of words in line thisLine of field thisIndex - 1) into x
put (the number of words in line thisLine of field thisIndex) into y
set gPlaylistSearchList = []
repeat with i = 2 to y
append gPlaylistSearchList, word i of line thisLine of field thisIndex
end repeat
-- get each line from the playlist display, match it to the corresponding filename,
-- then put the filenamd into gplaylistMasterList
repeat with i = 1 to x
put getAt(gPlaylistSearchList,i) into theMovieName
setAt gPlaylistMasterList, i,theMovieName
end repeat
put 1 into gMovieCount
put getAt (gPlaylistMasterList, 1) into nextMovie
go to movie "@/TURNON/" & nextmovie
end playSearchShow